package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-MTN Channel路由图link（顺序）对象 busi_mtn_channel_route_graph
 * 
 * @author tony
 * @date 2024-12-08
 */
public class BusiMtnChannelRouteGraph extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** mtn channel业务主键 */
    @Excel(name = "mtn channel业务主键")
    @ApiModelProperty(value = "mtn channel业务主键")
    private String mtnChannelId;

    /** 源网元id */
    @Excel(name = "源网元id")
    @ApiModelProperty(value = "源网元id")
    private String fromId;

    /** 源网元名称 */
    @Excel(name = "源网元名称")
    @ApiModelProperty(value = "源网元名称")
    private String fromName;

    /** 宿网元id */
    @Excel(name = "宿网元id")
    @ApiModelProperty(value = "宿网元id")
    private String toId;

    /** 宿网元名称 */
    @Excel(name = "宿网元名称")
    @ApiModelProperty(value = "宿网元名称")
    private String toName;

    /** 开始端口id */
    @Excel(name = "开始端口id")
    @ApiModelProperty(value = "开始端口id")
    private String startPortId;

    /** 开始端口名称 */
    @Excel(name = "开始端口名称")
    @ApiModelProperty(value = "开始端口名称")
    private String startPort;

    /** 结束端口id */
    @Excel(name = "结束端口id")
    @ApiModelProperty(value = "结束端口id")
    private String endPortId;

    /** 结束端口名称 */
    @Excel(name = "结束端口名称")
    @ApiModelProperty(value = "结束端口名称")
    private String endPort;

    /** 路径类型（1工作路径2保护路径） */
    @Excel(name = "路径类型", readConverterExp = "1=工作路径2保护路径")
    @ApiModelProperty(value = "路径类型")
    private String routeType;

    /** 路径id，同路径网元共用此id */
    @Excel(name = "路径id，同路径网元共用此id")
    @ApiModelProperty(value = "路径id，同路径网元共用此id")
    private String pathId;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMtnChannelId(String mtnChannelId) 
    {
        this.mtnChannelId = mtnChannelId;
    }

    public String getMtnChannelId() 
    {
        return mtnChannelId;
    }
    public void setFromId(String fromId) 
    {
        this.fromId = fromId;
    }

    public String getFromId() 
    {
        return fromId;
    }
    public void setFromName(String fromName) 
    {
        this.fromName = fromName;
    }

    public String getFromName() 
    {
        return fromName;
    }
    public void setToId(String toId) 
    {
        this.toId = toId;
    }

    public String getToId() 
    {
        return toId;
    }
    public void setToName(String toName) 
    {
        this.toName = toName;
    }

    public String getToName() 
    {
        return toName;
    }
    public void setStartPortId(String startPortId) 
    {
        this.startPortId = startPortId;
    }

    public String getStartPortId() 
    {
        return startPortId;
    }
    public void setStartPort(String startPort) 
    {
        this.startPort = startPort;
    }

    public String getStartPort() 
    {
        return startPort;
    }
    public void setEndPortId(String endPortId) 
    {
        this.endPortId = endPortId;
    }

    public String getEndPortId() 
    {
        return endPortId;
    }
    public void setEndPort(String endPort) 
    {
        this.endPort = endPort;
    }

    public String getEndPort() 
    {
        return endPort;
    }
    public void setRouteType(String routeType) 
    {
        this.routeType = routeType;
    }

    public String getRouteType() 
    {
        return routeType;
    }
    public void setPathId(String pathId) 
    {
        this.pathId = pathId;
    }

    public String getPathId() 
    {
        return pathId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mtnChannelId", getMtnChannelId())
            .append("fromId", getFromId())
            .append("fromName", getFromName())
            .append("toId", getToId())
            .append("toName", getToName())
            .append("startPortId", getStartPortId())
            .append("startPort", getStartPort())
            .append("endPortId", getEndPortId())
            .append("endPort", getEndPort())
            .append("routeType", getRouteType())
            .append("pathId", getPathId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
